﻿using FS.Common.DotNetBean;
using FS.Common.DotNetCode;
using FS.Common.DotNetUI;
using FS.Business;
using System;
using System.Collections;
using System.Data;
using System.Text;
using System.Collections.Generic;

namespace FS.Web.BLL.Visa_info
{
    public partial class Visa_InfoShipToForm : PageBase
    {
        private string _key;
        private visa_dao _visa = new visa_dao();
        protected void Page_Load(object sender, EventArgs e)
        {
            this._key = base.Request["key"];
            if (!base.IsPostBack)
            {
                this.info_date.Value = DateTime.Now.ToString("yyyy-MM-dd");
            }
        }

        protected void Save_Click(object sender, EventArgs e)
        {
            string ls_date = this.info_date.Value;
            int rtn = _visa.InfoShip_BatchUpdate(this._key, ls_date,_userid,_username,_disname);
            if (rtn>0)
            {
                ShowMsgHelper.AlertMsg("操作成功！");
            }
            else
            {
                ShowMsgHelper.Alert_Error("操作失败！");
            }  
        }
    }
}